package com.cool.modules.finance.entity.family;

import com.cool.core.base.BaseEntity;
import com.mybatisflex.annotation.Table;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "finance_user_family",comment = "用户家庭表")
@NoArgsConstructor
@AllArgsConstructor
public class FinanceUserFamilyEntity extends BaseEntity<FinanceUserFamilyEntity> {

    @ColumnDefine(comment = "用户id",notNull = true,type = "bigint")
    private Long userId;

    @ColumnDefine(comment = "家庭id",notNull = true,type = "bigint")
    private Long familyId;

}
